package com.yystar.security.support.jdbc;

/**
 * 
 * @author Vistaa Peng
 * @date 2013-6-27
 * @todo TODO
 * @modify	<BR>
 * 1.2013-6-27 Vistaa Peng Create file.
 */
public class Order {
	private String name;//order field name
	private String sort;//sort bind(ASC/DESC)
	public Order() {
	}
	public Order(String name, String sort) {
		super();
		this.name = name;
		this.sort = sort;
	}
	/**
	 * sort is ASC by default
	 * @param name
	 */
	public Order(String name) {
		this.name = name;
		this.sort = "ASC";
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSort() {
		return sort;
	}
	public void setSort(String sort) {
		this.sort = sort;
	}
}
